<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>gui2py: Fichero Fuente gui/controls/textbox.py</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../edit.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gui2py
   &#160;<span id="projectnumber">0.9.3</span>
   </div>
   <div id="projectbrief">Interfaz de desarrollo de aplicaciones graficas</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../namespaces.html"><span>Paquetes</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('de/d1c/gui_2controls_2textbox_8py_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Propiedades</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">textbox.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../de/d1c/gui_2controls_2textbox_8py.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">#!/usr/bin/python</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"># -*- coding: utf-8 -*-</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="stringliteral">&quot;gui2py&#39;s TextBox control (uses wx.TextCtrl, wx.lib.masked &amp; wx.DatePickerCtrl)&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;__author__ = <span class="stringliteral">&quot;Mariano Reingart (reingart@gmail.com)&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;__copyright__ = <span class="stringliteral">&quot;Copyright (C) 2013- Mariano Reingart&quot;</span>  <span class="comment"># where applicable</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"># Initial implementation was based on PythonCard&#39;s TextField/TextArea component, </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"># but redesigned and overhauled a lot (specs renamed, events refactorized, etc.)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"># Support for Masked TextCtrl/NumCtrl and DatePicker is completely new</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">import</span> locale</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">import</span> decimal</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">import</span> datetime</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">import</span> wx</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">from</span> ..event <span class="keyword">import</span> FormEvent</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">from</span> ..component <span class="keyword">import</span> Control, Spec, EventSpec, InitSpec, StyleSpec</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">from</span> .. <span class="keyword">import</span> images </div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">import</span>  wx.lib.masked <span class="keyword">as</span> masked</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">class </span>TextBox(Control):</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="stringliteral">&quot;A text field&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    _wx_class = wx.TextCtrl</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    _style = wx.CLIP_SIBLINGS | wx.NO_FULL_REPAINT_ON_RESIZE</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    _image = images.textbox</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#aacd7aaf1e1a11ffa5e6dd958221249d2">   30</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#aacd7aaf1e1a11ffa5e6dd958221249d2">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="comment"># if mask is given, create a masked control</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <span class="keywordflow">if</span> <span class="stringliteral">&#39;mask&#39;</span> <span class="keywordflow">in</span> kwargs <span class="keywordflow">and</span> kwargs[<span class="stringliteral">&#39;mask&#39;</span>]:</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;            <span class="keywordflow">if</span> all([(ch <span class="keywordflow">in</span> (<span class="stringliteral">&quot;#&quot;</span>, <span class="stringliteral">&quot;.&quot;</span>)) <span class="keywordflow">for</span> ch <span class="keywordflow">in</span> kwargs[<span class="stringliteral">&#39;mask&#39;</span>]]):</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a853845389a915eec4dedaee22e8abfb5">_wx_class</a> = wx_masked_NumCtrl</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;            <span class="keywordflow">elif</span> kwargs[<span class="stringliteral">&#39;mask&#39;</span>] == <span class="stringliteral">&#39;date&#39;</span>:</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a853845389a915eec4dedaee22e8abfb5">_wx_class</a> = wx_DatePickerCtrl</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;            <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a853845389a915eec4dedaee22e8abfb5">_wx_class</a> = wx_masked_TextCtrl</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;                </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keywordflow">elif</span> <span class="stringliteral">&#39;mask&#39;</span> <span class="keywordflow">in</span> kwargs:   </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            del kwargs[<span class="stringliteral">&#39;mask&#39;</span>]</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        Control.__init__(self, *args, **kwargs)</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="comment"># sane default for tab caption (in designer)</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a8d894fd1d7665d927fa104a331f86a9b">   47</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a8d894fd1d7665d927fa104a331f86a9b">clear_selection</a>(self):</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0fbc3aef906418a805d019fb43b53988">can_cut</a>():</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            <span class="comment"># delete the current selection,</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            <span class="comment"># if we can&#39;t do a Cut we shouldn&#39;t be able to delete either</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            <span class="comment"># which is why i used the test above</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            sel = self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abe8e925ecc2df5560686eb5cec1a18b1">replace_selection</a>(<span class="stringliteral">&#39;&#39;</span>)</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            ins = self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af2a2f28146a919a7397ba46e1bfa4b7e">get_insertion_point</a>()</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            <span class="keywordflow">try</span>:</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                self.<a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0cb0e01416f8245201dc767d77ce9fa">replace</a>(ins, ins + 1, <span class="stringliteral">&#39;&#39;</span>)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            <span class="keywordflow">except</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                <span class="keywordflow">pass</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="comment"># KEA the methods for retrieving and manipulating the text</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="comment"># has to be greatly expanded to match wxPython</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="comment"># capabilities or more</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="comment"># KEA new methods to mirror wxPython wxTextCtrl capabilities</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6a7126f3680264feb2169b58a1184ffd">   66</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6a7126f3680264feb2169b58a1184ffd">append_text</a>( self, aString ) :</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="stringliteral">&quot;&quot;&quot;Appends the text to the end of the text widget.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="stringliteral">        After the text is appended, the insertion point will be at the end</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="stringliteral">        of the text widget. If this behavior is not desired, the programmer</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="stringliteral">        should use getInsertionPoint and setInsertionPoint.&quot;&quot;&quot;</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        self.wx_obj.AppendText( aString )</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#afc0111fbc26b00b790fd8cc8e86f2e98">   73</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#afc0111fbc26b00b790fd8cc8e86f2e98">can_copy</a>( self ) :</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.CanCopy()</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0fbc3aef906418a805d019fb43b53988">   76</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0fbc3aef906418a805d019fb43b53988">can_cut</a>( self ) :</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.CanCut()</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4f0d2296a1a52f912bfb71f994201461">   79</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4f0d2296a1a52f912bfb71f994201461">can_paste</a>( self ) :</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.CanPaste()</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5d11934e2bc852f48eb82098ac4166a6">   82</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5d11934e2bc852f48eb82098ac4166a6">can_redo</a>( self ) :</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.CanRedo()</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae22e308c649d562da24e67497a2a6958">   85</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae22e308c649d562da24e67497a2a6958">can_undo</a>( self ) :</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.CanUndo()</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a05c73f02b1f32cf2fed29230b259166a">   88</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a05c73f02b1f32cf2fed29230b259166a">clear</a>( self ) :</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        self.wx_obj.Clear()</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4acbe2bd986b4fe2a5893720be02c7ee">   91</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4acbe2bd986b4fe2a5893720be02c7ee">copy</a>( self ) :</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        self.wx_obj.Copy()</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af5c65091253554b5bfa8dbb3b9cf1ea6">   94</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af5c65091253554b5bfa8dbb3b9cf1ea6">cut</a>( self ) :</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        self.wx_obj.Cut()</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a7a6e778e59fa5bb1539b2cb5dffc8d2d">   97</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a7a6e778e59fa5bb1539b2cb5dffc8d2d">discard_edits</a>( self ) :</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        self.wx_obj.DiscardEdits()</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af2a2f28146a919a7397ba46e1bfa4b7e">  100</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af2a2f28146a919a7397ba46e1bfa4b7e">get_insertion_point</a>( self ) :</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetInsertionPoint()</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4a54c8acfadcc8eb778bb27bbd13158b">  103</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4a54c8acfadcc8eb778bb27bbd13158b">get_last_position</a>( self ) :</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetLastPosition()</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a71f50eeb8e9766729a4d57ac0bf0641c">  106</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a71f50eeb8e9766729a4d57ac0bf0641c">get_line_length</a>( self, aLineNumber ) :</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetLineLength( aLineNumber )</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae6178f6482202f173b66982b6b606d8d">  109</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae6178f6482202f173b66982b6b606d8d">get_line_text</a>( self, aLineNumber ) :</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetLineText( aLineNumber )</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a68ae61aaadbaec9f7e2a7391a6ca0b9d">  112</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a68ae61aaadbaec9f7e2a7391a6ca0b9d">get_selection</a>( self ) :</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetSelection()</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ad4aa89f5359bbdb04e2f2e024afe7f07">  115</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ad4aa89f5359bbdb04e2f2e024afe7f07">get_number_of_lines</a>( self ) :</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetNumberOfLines()</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2e025360c1ee4bed98920d83ab9e0db8">  118</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2e025360c1ee4bed98920d83ab9e0db8">set_max_length</a>(self, max):</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="stringliteral">&quot;sets the maximum number of characters allowed into the control&quot;</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.SetMaxLength(max)</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="comment"># KEA rename to getModified?</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6277c3f04c8fe62ae9f926eecc633167">  123</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6277c3f04c8fe62ae9f926eecc633167">is_modified</a>( self ) :</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <span class="stringliteral">&quot;&quot;&quot;Returns 1 if the text has been modified, 0 otherwise.&quot;&quot;&quot;</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.IsModified()</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="comment"># KEA support LoadFile? If so, it only makes sense for TextArea</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment"># many of the other methods only make sense for the multiline TextArea</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment"># not TextField and PasswordField</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="comment"># KEA OnChar ties into our user code handlers and our events,</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="comment"># need to think about this one some more</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="comment"># KEA OnDropFiles is windows-specific, if you try and call it under *nix</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="comment"># what happens? just an exception?</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a61fe37c2756e1b82bfc08feed087e1cb">  137</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a61fe37c2756e1b82bfc08feed087e1cb">paste</a>( self ) :</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        self.wx_obj.Paste()</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#add3418d5bbc8bb40dfd8b06f7ab9f74a">  140</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#add3418d5bbc8bb40dfd8b06f7ab9f74a">position_to_xy</a>(self, aPosition):</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        result = self.wx_obj.PositionToXY(aPosition)</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keywordflow">if</span> len(result) == 2:</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;            <span class="keywordflow">return</span> result</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            <span class="comment"># workaround for wxPython 2.3.2.1</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            <span class="keywordflow">return</span> (result[1], result[2])</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a3a48e2be043b0fc3ecef3e35f42d2f81">  148</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a3a48e2be043b0fc3ecef3e35f42d2f81">redo</a>( self ) :</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        self.wx_obj.Redo()</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ab4c874e29110f8e81cd84002995e7b23">  151</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ab4c874e29110f8e81cd84002995e7b23">remove</a>( self, aFrom, aTo ) :</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        self.wx_obj.Remove( aFrom, aTo )</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0cb0e01416f8245201dc767d77ce9fa">  154</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0cb0e01416f8245201dc767d77ce9fa">replace</a>( self, aFrom, aTo, aString ) :</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="comment"># KEA workaround for Replace bug, has the side effect of</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <span class="comment"># possibly changing the insertion point</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="comment">#self._delegate.Replace( aFrom, aTo, aString )</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        i = self.wx_obj.GetInsertionPoint()</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        self.wx_obj.Remove( aFrom, aTo )</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        self.wx_obj.SetInsertionPoint( aFrom )</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        self.wx_obj.WriteText( aString )</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        self.wx_obj.SetInsertionPoint( i )</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abe8e925ecc2df5560686eb5cec1a18b1">  164</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abe8e925ecc2df5560686eb5cec1a18b1">replace_selection</a>(self, aString, select=0):</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        sel = self.GetSelection()</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        self.Remove(sel[0], sel[1])</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        self.WriteText(aString)</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <span class="keywordflow">if</span> select:</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            self.SetSelection(sel[0], sel[0] + len(aString))</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="comment"># KEA support SaveFile?</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a77c02c59f816ce7ff4f3c1610e28dcb8">  173</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a77c02c59f816ce7ff4f3c1610e28dcb8">set_insertion_point</a>( self, aPosition ) :</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        self.SetInsertionPoint( aPosition )</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0bbd5e5553d7dd5f25b25fdeb5cdb55f">  176</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0bbd5e5553d7dd5f25b25fdeb5cdb55f">set_insertion_point_end</a>( self ) :</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        self.SetInsertionPointEnd()</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae16edeae9f216fb6aafee97921cae350">  179</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae16edeae9f216fb6aafee97921cae350">set_selection</a>( self, aFrom, aTo ) :</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        self.SetSelection( aFrom, aTo )</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2b2fbe3bf4786abcb2870c6444adbce2">  182</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2b2fbe3bf4786abcb2870c6444adbce2">show_position</a>( self, aPosition ) :</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        self.ShowPosition( aPosition )</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a95492e4c5f68389ec83eca649d650385">  185</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a95492e4c5f68389ec83eca649d650385">undo</a>( self ) :</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        self.Undo()</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a18a724b79d70421c382d419a1f66b42e">  188</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a18a724b79d70421c382d419a1f66b42e">write_text</a>( self, aString ) :</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        self.WriteText( aString )</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a22ff4e4f8bf81ac6e6237ef6320acef6">  191</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a22ff4e4f8bf81ac6e6237ef6320acef6">xy_to_position</a>( self, aX, aY ) :</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="keywordflow">return</span> self.XYToPosition( aX, aY )</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    get_string_selection = <span class="keyword">lambda</span> self: self.wx_obj.GetStringSelection</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0f315931cc806307ab01f45e611cadf">  196</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0f315931cc806307ab01f45e611cadf">get_string</a>(self, aFrom, aTo):</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordflow">return</span> self.GetValue()[aFrom:aTo]</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5b01f2841a33675e6be00d3f41c6c344">  199</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5b01f2841a33675e6be00d3f41c6c344">_get_mask</a>(self):</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <span class="keywordflow">if</span> hasattr(self.wx_obj, <span class="stringliteral">&quot;GetMask&quot;</span>):</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;            <span class="keywordflow">return</span> self.wx_obj.GetMask()</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            <span class="keywordflow">return</span> <span class="keywordtype">None</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    </div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abd75990f3c18f40dfb98277198cdbb3d">  205</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abd75990f3c18f40dfb98277198cdbb3d">_set_mask</a>(self, new_mask):</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="keywordflow">if</span> isinstance(self.wx_obj, masked.TextCtrl):</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;            self.wx_obj.SetMask(new_mask)</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a377d62d39be87e169602d04c8eb03d38">  209</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a377d62d39be87e169602d04c8eb03d38">_get_text</a>(self):</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        text = self.wx_obj.GetValue()</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="keywordflow">if</span> <span class="keywordflow">not</span> isinstance(text, basestring) <span class="keywordflow">and</span> text <span class="keywordflow">is</span> <span class="keywordflow">not</span> <span class="keywordtype">None</span>:</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            <span class="keywordflow">return</span> <span class="keywordtype">None</span>     <span class="comment"># for safety, do not return a string repr</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            <span class="keywordflow">return</span> text</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a17e221d4f266000aa8bb8584978f100f">  216</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a17e221d4f266000aa8bb8584978f100f">_set_text</a>(self, new_text):</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        self.wx_obj.SetValue(unicode(new_text))</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a10b444cae274d17d2654bda38e70fc09">  219</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a10b444cae274d17d2654bda38e70fc09">_get_value</a>(self):</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetValue()</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    </div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ac9bdcb8197f5f0b78f58046fec67cf62">  222</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ac9bdcb8197f5f0b78f58046fec67cf62">_set_value</a>(self, new_value):</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        self.wx_obj.SetValue(new_value)</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        </div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    alignment = StyleSpec({<span class="stringliteral">&#39;left&#39;</span>: wx.TE_LEFT, </div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                           <span class="stringliteral">&#39;center&#39;</span>: wx.TE_CENTRE,</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;                           <span class="stringliteral">&#39;right&#39;</span>: wx.TE_RIGHT},</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                           default=<span class="stringliteral">&#39;left&#39;</span>)</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    editable = Spec(<span class="keyword">lambda</span> self: self.wx_obj.IsEditable(), </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                    <span class="keyword">lambda</span> self, value: self.wx_obj.SetEditable(value),</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                    default=<span class="keyword">True</span>, type=<span class="stringliteral">&quot;boolean&quot;</span>)</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    text = Spec(_get_text, _set_text, default=<span class="stringliteral">&quot;&quot;</span>, type=<span class="stringliteral">&quot;text&quot;</span>)</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    value = Spec(_get_value, _set_value, default=<span class="stringliteral">&quot;&quot;</span>, type=<span class="stringliteral">&quot;expr&quot;</span>,</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                 doc=<span class="stringliteral">&quot;Actual python object (int, float, datetime, decimal...)&quot;</span>)</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    password = StyleSpec(wx.TE_PASSWORD, default=<span class="keyword">False</span>)</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    multiline = StyleSpec(wx.TE_MULTILINE, default=<span class="keyword">False</span>)</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    hscroll = StyleSpec(wx.HSCROLL, default=<span class="keyword">False</span>)</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    onchange = EventSpec(<span class="stringliteral">&#39;change&#39;</span>, binding=wx.EVT_TEXT, kind=FormEvent)</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    mask = InitSpec(_get_mask, _set_mask, type=<span class="stringliteral">&#39;string&#39;</span>, default=<span class="keywordtype">None</span>, </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;                    doc=<span class="stringliteral">&quot;template to control allowed user input&quot;</span>)</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="keyword">class </span><a class="code" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html">wx_masked_TextCtrl</a>(masked.TextCtrl):</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#ad96b376cd7083dcdfe9431d74915a5ae">  247</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#ad96b376cd7083dcdfe9431d74915a5ae">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="comment"># Use local conventions for decimal point and grouping</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        lc = locale.localeconv()</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        kwargs[<span class="stringliteral">&#39;useFixedWidthFont&#39;</span>] = <span class="keyword">False</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        kwargs[<span class="stringliteral">&#39;groupChar&#39;</span>] = lc[<span class="stringliteral">&#39;mon_thousands_sep&#39;</span>] <span class="keywordflow">or</span> <span class="stringliteral">&quot;,&quot;</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        kwargs[<span class="stringliteral">&#39;decimalChar&#39;</span>] = lc[<span class="stringliteral">&#39;decimal_point&#39;</span>] <span class="keywordflow">or</span> <span class="stringliteral">&quot;.&quot;</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        kwargs[<span class="stringliteral">&#39;raiseOnInvalidPaste&#39;</span>] = <span class="keyword">False</span>               <span class="comment"># just bell</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        masked.TextCtrl.__init__(self, *args, **kwargs) </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#aac519c2f693672ea7bee12fee48a4e1d">  256</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#aac519c2f693672ea7bee12fee48a4e1d">SetValue</a>(self, new_value):</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="comment"># to avoid formatting issues, values should not be passed as string!</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keywordflow">try</span>:</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            masked.TextCtrl.SetValue(self, new_value)</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        <span class="keywordflow">except</span> Exception, e:</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="comment"># TODO: better exception handling</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            <span class="keywordflow">print</span> e</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    </div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#a66ac87464fce721ca4e8e6fb1b4c0173">  264</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#a66ac87464fce721ca4e8e6fb1b4c0173">GetValue</a>(self):</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <span class="comment"># should return number / date / etc.</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        value = masked.TextCtrl.GetValue(self)  <span class="comment"># get the text value</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        <span class="keywordflow">return</span> value</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="keyword">class </span><a class="code" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html">wx_masked_NumCtrl</a>(masked.NumCtrl):</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    </div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#a70f77fe3093d27e420f619570ede31b7">  272</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#a70f77fe3093d27e420f619570ede31b7">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        <span class="comment"># Use local conventions for decimal point and grouping</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        lc = locale.localeconv()</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        kwargs[<span class="stringliteral">&#39;useFixedWidthFont&#39;</span>] = <span class="keyword">False</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        kwargs[<span class="stringliteral">&#39;groupChar&#39;</span>] = lc[<span class="stringliteral">&#39;mon_thousands_sep&#39;</span>] <span class="keywordflow">or</span> <span class="stringliteral">&#39;,&#39;</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        kwargs[<span class="stringliteral">&#39;decimalChar&#39;</span>] = lc[<span class="stringliteral">&#39;decimal_point&#39;</span>] <span class="keywordflow">or</span> <span class="stringliteral">&#39;.&#39;</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        <span class="comment"># fix non-breaking space 0xa0 thousands sep in French_France.1252 (win)</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;        <span class="keywordflow">for</span> k <span class="keywordflow">in</span> (<span class="stringliteral">&#39;groupChar&#39;</span>, <span class="stringliteral">&#39;decimalChar&#39;</span>): </div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;            <span class="comment"># on python2, convert everything to unicode</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;            <span class="keywordflow">if</span> isinstance(kwargs[k], str) <span class="keywordflow">and</span> hasattr(str, <span class="stringliteral">&quot;decode&quot;</span>):</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                kwargs[k] = kwargs[k].decode(<span class="stringliteral">&quot;latin1&quot;</span>, <span class="stringliteral">&quot;replace&quot;</span>)</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;        mask = kwargs[<span class="stringliteral">&#39;mask&#39;</span>]</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        del kwargs[<span class="stringliteral">&#39;mask&#39;</span>]</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        <span class="keywordflow">if</span> <span class="stringliteral">&#39;.&#39;</span> <span class="keywordflow">not</span> <span class="keywordflow">in</span> mask:</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;            kwargs[<span class="stringliteral">&#39;fractionWidth&#39;</span>] = 0</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;            kwargs[<span class="stringliteral">&#39;integerWidth&#39;</span>] = mask.count(<span class="stringliteral">&quot;#&quot;</span>)</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            kwargs[<span class="stringliteral">&#39;fractionWidth&#39;</span>] = mask[mask.index(<span class="stringliteral">&quot;.&quot;</span>):].count(<span class="stringliteral">&quot;#&quot;</span>)</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            kwargs[<span class="stringliteral">&#39;integerWidth&#39;</span>] = mask[:mask.index(<span class="stringliteral">&quot;.&quot;</span>)].count(<span class="stringliteral">&quot;#&quot;</span>) </div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        kwargs[<span class="stringliteral">&#39;allowNone&#39;</span>] = <span class="keyword">True</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        kwargs[<span class="stringliteral">&#39;autoSize&#39;</span>] = <span class="keyword">False</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        <span class="comment">#allowNegative = True,</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        <span class="comment">#useParensForNegatives = False,</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="comment">#groupDigits = False,</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        <span class="comment">#min = None,</span></div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <span class="comment">#max = None,</span></div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        masked.NumCtrl.__init__(self, *args, **kwargs)</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#acee38ff2c23218658872297a44d3c231">  300</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#acee38ff2c23218658872297a44d3c231">GetMask</a>(self):</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        fraction_width = self.GetFractionWidth() </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        integer_width = self.GetIntegerWidth()</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keywordflow">if</span> fraction_width:</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&quot;%s.%s&quot;</span> % (<span class="stringliteral">&quot;#&quot;</span> * integer_width, <span class="stringliteral">&quot;#&quot;</span> * fraction_width)</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&quot;#&quot;</span> * integer_width</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#aea08687b3be9e95e6e65cfffda103501">  308</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#aea08687b3be9e95e6e65cfffda103501">SetValue</a>(self, new_value):</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        <span class="comment"># to avoid formatting issues, values should not be passed as string!</span></div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <span class="keywordflow">try</span>:</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            masked.NumCtrl.SetValue(self, new_value)</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        <span class="keywordflow">except</span> Exception, e:</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;            <span class="comment"># TODO: better exception handling</span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;            <span class="keywordflow">print</span> e</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="comment"># WORKAROUND as Phoenix moved datetime picker</span></div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="comment"># (could be useful for WXMAC or similar):</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="keywordflow">if</span> wx.VERSION &lt; (2, 9, 5) <span class="keywordflow">or</span> <span class="keywordflow">not</span> <span class="stringliteral">&#39;phoenix&#39;</span> <span class="keywordflow">in</span> wx.version():</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    DatePickerCtrl = wx.DatePickerCtrl</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    DP_STYLE = wx.DP_DROPDOWN | wx.DP_SHOWCENTURY | wx.DP_ALLOWNONE | wx.DP_DEFAULT</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    <span class="keyword">import</span> wx.adv</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    DatePickerCtrl = wx.adv.DatePickerCtrl</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    DP_STYLE = wx.adv.DP_DROPDOWN | wx.adv.DP_SHOWCENTURY | wx.adv.DP_ALLOWNONE | wx.adv.DP_DEFAULT</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="keywordflow">if</span> DatePickerCtrl:</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keyword">class </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html">wx_DatePickerCtrl</a>(<a class="code" href="../../dd/db5/namespacegui_1_1controls_1_1textbox.html#a3e328e7271e784fdecb11ab1c076e2a2">DatePickerCtrl</a>):</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    </div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ab081142bf70e321877b6ef614d91d563">  330</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ab081142bf70e321877b6ef614d91d563">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;            del kwargs[<span class="stringliteral">&#39;mask&#39;</span>]</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;            kwargs[<span class="stringliteral">&#39;style&#39;</span>] = style = DP_STYLE</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;            DatePickerCtrl.__init__(self, *args, **kwargs)</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7e671feb47d76fadadc58af3a3cdc262">  335</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7e671feb47d76fadadc58af3a3cdc262">GetMask</a>(self):</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&quot;date&quot;</span></div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a295a836e645fc0e40c7ea0f27886d99b">  338</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a295a836e645fc0e40c7ea0f27886d99b">SetEditable</a>(self, editable):</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;            <span class="keywordflow">pass</span> <span class="comment"># TODO</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;            </div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7582e12bb3d2c3a432b4e52ba29687a9">  341</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7582e12bb3d2c3a432b4e52ba29687a9">IsEditable</a>(self):</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">True</span> <span class="comment"># TODO</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a877b0b6b04dd682f96ae0f942f25482f">  344</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a877b0b6b04dd682f96ae0f942f25482f">GetValue</a>(self):</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;            <span class="stringliteral">&quot;Convert and return the wx.DateTime to python datetime&quot;</span></div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;            value = DatePickerCtrl.GetValue(self)</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;            <span class="keyword">assert</span> isinstance(value, wx.DateTime) </div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;            <span class="keywordflow">if</span> value <span class="keywordflow">is</span> <span class="keywordtype">None</span> <span class="keywordflow">or</span> <span class="keywordflow">not</span> value.IsValid(): </div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;                <span class="keywordflow">return</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;            <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;                 ymd = map(int, value.FormatISODate().split(<span class="stringliteral">&#39;-&#39;</span>)) </div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;                 <span class="keywordflow">return</span> datetime.date(*ymd)          </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div>
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ad3566e42538b35a555cbe99fd1b78f3e">  354</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ad3566e42538b35a555cbe99fd1b78f3e">SetValue</a>(self, new_value):</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;            <span class="stringliteral">&quot;Convert and set the python datetime to wx.DateTime&quot;</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;            <span class="keywordflow">try</span>:</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;                <span class="keywordflow">if</span> new_value <span class="keywordflow">is</span> <span class="keywordtype">None</span>:</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;                    <span class="comment"># pass an invalid (empty) wx date to clear the control</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;                    DatePickerCtrl.SetValue(self, wx.DateTime())</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;                <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;                    <span class="keyword">assert</span> isinstance(new_value, (datetime.datetime, datetime.date)) </div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;                    tt = new_value.timetuple() </div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;                    dmy = (tt[2], tt[1]-1, tt[0]) </div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;                    DatePickerCtrl.SetValue(self, wx.DateTimeFromDMY(*dmy)) </div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;            <span class="keywordflow">except</span> Exception, e:</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;                <span class="comment"># TODO: better exception handling</span></div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;                <span class="keywordflow">print</span> e</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    <span class="comment"># TODO: look for a better alternative for wx.DatePickerCtrl (masked?)</span></div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keyword">class </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html">wx_DatePickerCtrl</a>(wx.TextCtrl):</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ab081142bf70e321877b6ef614d91d563">  375</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ab081142bf70e321877b6ef614d91d563">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            del kwargs[<span class="stringliteral">&#39;mask&#39;</span>]</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;            wx.TextCtrl.__init__(self, *args, **kwargs)</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a877b0b6b04dd682f96ae0f942f25482f">  379</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a877b0b6b04dd682f96ae0f942f25482f">GetValue</a>(self):</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;            <span class="stringliteral">&quot;Convert and return the wx.DateTime to python datetime&quot;</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;            value = wx.TextCtrl.GetValue(self)</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;            <span class="keywordflow">if</span> <span class="keywordflow">not</span> value: </div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;                <span class="keywordflow">return</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;            <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;                 ymd = map(int, value.split(<span class="stringliteral">&#39;-&#39;</span>)) </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;                 <span class="keywordflow">return</span> datetime.date(*ymd)          </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ad3566e42538b35a555cbe99fd1b78f3e">  388</a></span>&#160;        <span class="keyword">def </span><a class="code" href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ad3566e42538b35a555cbe99fd1b78f3e">SetValue</a>(self, new_value):</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;            <span class="stringliteral">&quot;Convert and set the python datetime to wx.DateTime&quot;</span></div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;            <span class="keywordflow">try</span>:</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;                 <span class="keyword">assert</span> isinstance(new_value, (datetime.datetime, datetime.date))</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;                 wx.TextCtrl.SetValue(self, str(new_value)) </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;            <span class="keywordflow">except</span> Exception, e:</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;                <span class="comment"># TODO: better exception handling</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;                <span class="keywordflow">print</span> e</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;<span class="comment"># On Linux DatePickerCtrl cannot be clicked, so enable facade fake screenshot image (designer):</span></div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;TextBox._meta.facade = <span class="keyword">True</span> </div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    </div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<span class="keywordflow">if</span> __name__ == <span class="stringliteral">&quot;__main__&quot;</span>:</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    <span class="keyword">import</span> sys</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    <span class="comment"># basic test until unit_test</span></div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    app = wx.App(redirect=<span class="keyword">False</span>)</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    frame = wx.Frame(<span class="keywordtype">None</span>)</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    t = <a class="code" href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html">TextBox</a>(frame, name=<span class="stringliteral">&quot;txtTest&quot;</span>, border=<span class="keyword">False</span>, text=<span class="stringliteral">&quot;&quot;</span>,</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                password=<span class="stringliteral">&#39;--password&#39;</span> <span class="keywordflow">in</span> sys.argv,</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;                multiline=<span class="stringliteral">&#39;--multiline&#39;</span> <span class="keywordflow">in</span> sys.argv,</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;                mask=<span class="stringliteral">&#39;###.##&#39;</span>,</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;                hscroll=<span class="keyword">True</span>,</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;                )</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    t.value = 1.01</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <span class="keyword">assert</span> t.get_parent() <span class="keywordflow">is</span> frame</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    <span class="keyword">assert</span> t.name == <span class="stringliteral">&quot;txtTest&quot;</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;align&quot;</span>, t.alignment</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;text&quot;</span>, t.text</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;mask&quot;</span>, t.mask</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;password&quot;</span>, t.password</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;multiline&quot;</span>, t.multiline</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;hscroll&quot;</span>, t.hscroll</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    <span class="comment">#assert t.text == &quot;hello world!&quot;</span></div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    <span class="keyword">from</span> pprint <span class="keyword">import</span> pprint</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <span class="comment"># assign some event handlers:</span></div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    t.onmousemove = <span class="keyword">lambda</span> event: pprint(<span class="stringliteral">&quot;%s %s %s&quot;</span> % (event.name, event.x, event.y))</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    t.onmouseleftdown = <span class="keyword">lambda</span> event: pprint(event.target.append_text(<span class="stringliteral">&quot;click!&quot;</span>))</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    t.onchange = <span class="keyword">lambda</span> event: pprint(<span class="stringliteral">&quot;change: %s&quot;</span> % event.target.text)</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    frame.Show()</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="comment">#print t.value, type(t.value)</span></div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    app.MainLoop()    </div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_abd75990f3c18f40dfb98277198cdbb3d"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abd75990f3c18f40dfb98277198cdbb3d">gui.controls.textbox.TextBox._set_mask</a></div><div class="ttdeci">def _set_mask</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00205">textbox.py:205</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a3a48e2be043b0fc3ecef3e35f42d2f81"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a3a48e2be043b0fc3ecef3e35f42d2f81">gui.controls.textbox.TextBox.redo</a></div><div class="ttdeci">def redo</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00148">textbox.py:148</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl_html_acee38ff2c23218658872297a44d3c231"><div class="ttname"><a href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#acee38ff2c23218658872297a44d3c231">gui.controls.textbox.wx_masked_NumCtrl.GetMask</a></div><div class="ttdeci">def GetMask</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00300">textbox.py:300</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_ab081142bf70e321877b6ef614d91d563"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ab081142bf70e321877b6ef614d91d563">gui.controls.textbox.wx_DatePickerCtrl.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00330">textbox.py:330</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a4f0d2296a1a52f912bfb71f994201461"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4f0d2296a1a52f912bfb71f994201461">gui.controls.textbox.TextBox.can_paste</a></div><div class="ttdeci">def can_paste</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00079">textbox.py:79</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_af2a2f28146a919a7397ba46e1bfa4b7e"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af2a2f28146a919a7397ba46e1bfa4b7e">gui.controls.textbox.TextBox.get_insertion_point</a></div><div class="ttdeci">def get_insertion_point</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00100">textbox.py:100</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl_html_ad96b376cd7083dcdfe9431d74915a5ae"><div class="ttname"><a href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#ad96b376cd7083dcdfe9431d74915a5ae">gui.controls.textbox.wx_masked_TextCtrl.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00247">textbox.py:247</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a2e025360c1ee4bed98920d83ab9e0db8"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2e025360c1ee4bed98920d83ab9e0db8">gui.controls.textbox.TextBox.set_max_length</a></div><div class="ttdeci">def set_max_length</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00118">textbox.py:118</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl_html_a70f77fe3093d27e420f619570ede31b7"><div class="ttname"><a href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#a70f77fe3093d27e420f619570ede31b7">gui.controls.textbox.wx_masked_NumCtrl.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00272">textbox.py:272</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a17e221d4f266000aa8bb8584978f100f"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a17e221d4f266000aa8bb8584978f100f">gui.controls.textbox.TextBox._set_text</a></div><div class="ttdeci">def _set_text</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00216">textbox.py:216</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a8d894fd1d7665d927fa104a331f86a9b"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a8d894fd1d7665d927fa104a331f86a9b">gui.controls.textbox.TextBox.clear_selection</a></div><div class="ttdeci">def clear_selection</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00047">textbox.py:47</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_a295a836e645fc0e40c7ea0f27886d99b"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a295a836e645fc0e40c7ea0f27886d99b">gui.controls.textbox.wx_DatePickerCtrl.SetEditable</a></div><div class="ttdeci">def SetEditable</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00338">textbox.py:338</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ac9bdcb8197f5f0b78f58046fec67cf62"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ac9bdcb8197f5f0b78f58046fec67cf62">gui.controls.textbox.TextBox._set_value</a></div><div class="ttdeci">def _set_value</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00222">textbox.py:222</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_af5c65091253554b5bfa8dbb3b9cf1ea6"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af5c65091253554b5bfa8dbb3b9cf1ea6">gui.controls.textbox.TextBox.cut</a></div><div class="ttdeci">def cut</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00094">textbox.py:94</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a0bbd5e5553d7dd5f25b25fdeb5cdb55f"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0bbd5e5553d7dd5f25b25fdeb5cdb55f">gui.controls.textbox.TextBox.set_insertion_point_end</a></div><div class="ttdeci">def set_insertion_point_end</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00176">textbox.py:176</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a95492e4c5f68389ec83eca649d650385"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a95492e4c5f68389ec83eca649d650385">gui.controls.textbox.TextBox.undo</a></div><div class="ttdeci">def undo</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00185">textbox.py:185</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a10b444cae274d17d2654bda38e70fc09"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a10b444cae274d17d2654bda38e70fc09">gui.controls.textbox.TextBox._get_value</a></div><div class="ttdeci">def _get_value</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00219">textbox.py:219</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl_html"><div class="ttname"><a href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html">gui.controls.textbox.wx_masked_NumCtrl</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00270">textbox.py:270</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_af0cb0e01416f8245201dc767d77ce9fa"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0cb0e01416f8245201dc767d77ce9fa">gui.controls.textbox.TextBox.replace</a></div><div class="ttdeci">def replace</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00154">textbox.py:154</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a71f50eeb8e9766729a4d57ac0bf0641c"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a71f50eeb8e9766729a4d57ac0bf0641c">gui.controls.textbox.TextBox.get_line_length</a></div><div class="ttdeci">def get_line_length</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00106">textbox.py:106</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_a7582e12bb3d2c3a432b4e52ba29687a9"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7582e12bb3d2c3a432b4e52ba29687a9">gui.controls.textbox.wx_DatePickerCtrl.IsEditable</a></div><div class="ttdeci">def IsEditable</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00341">textbox.py:341</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a7a6e778e59fa5bb1539b2cb5dffc8d2d"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a7a6e778e59fa5bb1539b2cb5dffc8d2d">gui.controls.textbox.TextBox.discard_edits</a></div><div class="ttdeci">def discard_edits</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00097">textbox.py:97</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_af0f315931cc806307ab01f45e611cadf"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#af0f315931cc806307ab01f45e611cadf">gui.controls.textbox.TextBox.get_string</a></div><div class="ttdeci">def get_string</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00196">textbox.py:196</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl_html_aea08687b3be9e95e6e65cfffda103501"><div class="ttname"><a href="../../d2/de0/classgui_1_1controls_1_1textbox_1_1wx__masked__NumCtrl.html#aea08687b3be9e95e6e65cfffda103501">gui.controls.textbox.wx_masked_NumCtrl.SetValue</a></div><div class="ttdeci">def SetValue</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00308">textbox.py:308</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a377d62d39be87e169602d04c8eb03d38"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a377d62d39be87e169602d04c8eb03d38">gui.controls.textbox.TextBox._get_text</a></div><div class="ttdeci">def _get_text</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00209">textbox.py:209</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a61fe37c2756e1b82bfc08feed087e1cb"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a61fe37c2756e1b82bfc08feed087e1cb">gui.controls.textbox.TextBox.paste</a></div><div class="ttdeci">def paste</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00137">textbox.py:137</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_add3418d5bbc8bb40dfd8b06f7ab9f74a"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#add3418d5bbc8bb40dfd8b06f7ab9f74a">gui.controls.textbox.TextBox.position_to_xy</a></div><div class="ttdeci">def position_to_xy</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00140">textbox.py:140</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html">gui.controls.textbox.wx_DatePickerCtrl</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00328">textbox.py:328</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_abe8e925ecc2df5560686eb5cec1a18b1"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#abe8e925ecc2df5560686eb5cec1a18b1">gui.controls.textbox.TextBox.replace_selection</a></div><div class="ttdeci">def replace_selection</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00164">textbox.py:164</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_a877b0b6b04dd682f96ae0f942f25482f"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a877b0b6b04dd682f96ae0f942f25482f">gui.controls.textbox.wx_DatePickerCtrl.GetValue</a></div><div class="ttdeci">def GetValue</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00344">textbox.py:344</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a6277c3f04c8fe62ae9f926eecc633167"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6277c3f04c8fe62ae9f926eecc633167">gui.controls.textbox.TextBox.is_modified</a></div><div class="ttdeci">def is_modified</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00123">textbox.py:123</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ae6178f6482202f173b66982b6b606d8d"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae6178f6482202f173b66982b6b606d8d">gui.controls.textbox.TextBox.get_line_text</a></div><div class="ttdeci">def get_line_text</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00109">textbox.py:109</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_aacd7aaf1e1a11ffa5e6dd958221249d2"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#aacd7aaf1e1a11ffa5e6dd958221249d2">gui.controls.textbox.TextBox.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00030">textbox.py:30</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html">gui.controls.textbox.TextBox</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00023">textbox.py:23</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a4acbe2bd986b4fe2a5893720be02c7ee"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4acbe2bd986b4fe2a5893720be02c7ee">gui.controls.textbox.TextBox.copy</a></div><div class="ttdeci">def copy</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00091">textbox.py:91</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a18a724b79d70421c382d419a1f66b42e"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a18a724b79d70421c382d419a1f66b42e">gui.controls.textbox.TextBox.write_text</a></div><div class="ttdeci">def write_text</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00188">textbox.py:188</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ae16edeae9f216fb6aafee97921cae350"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae16edeae9f216fb6aafee97921cae350">gui.controls.textbox.TextBox.set_selection</a></div><div class="ttdeci">def set_selection</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00179">textbox.py:179</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ab4c874e29110f8e81cd84002995e7b23"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ab4c874e29110f8e81cd84002995e7b23">gui.controls.textbox.TextBox.remove</a></div><div class="ttdeci">def remove</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00151">textbox.py:151</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a22ff4e4f8bf81ac6e6237ef6320acef6"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a22ff4e4f8bf81ac6e6237ef6320acef6">gui.controls.textbox.TextBox.xy_to_position</a></div><div class="ttdeci">def xy_to_position</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00191">textbox.py:191</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a05c73f02b1f32cf2fed29230b259166a"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a05c73f02b1f32cf2fed29230b259166a">gui.controls.textbox.TextBox.clear</a></div><div class="ttdeci">def clear</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00088">textbox.py:88</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl_html"><div class="ttname"><a href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html">gui.controls.textbox.wx_masked_TextCtrl</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00245">textbox.py:245</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_ad3566e42538b35a555cbe99fd1b78f3e"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#ad3566e42538b35a555cbe99fd1b78f3e">gui.controls.textbox.wx_DatePickerCtrl.SetValue</a></div><div class="ttdeci">def SetValue</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00354">textbox.py:354</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a5d11934e2bc852f48eb82098ac4166a6"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5d11934e2bc852f48eb82098ac4166a6">gui.controls.textbox.TextBox.can_redo</a></div><div class="ttdeci">def can_redo</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00082">textbox.py:82</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a68ae61aaadbaec9f7e2a7391a6ca0b9d"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a68ae61aaadbaec9f7e2a7391a6ca0b9d">gui.controls.textbox.TextBox.get_selection</a></div><div class="ttdeci">def get_selection</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00112">textbox.py:112</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_afc0111fbc26b00b790fd8cc8e86f2e98"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#afc0111fbc26b00b790fd8cc8e86f2e98">gui.controls.textbox.TextBox.can_copy</a></div><div class="ttdeci">def can_copy</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00073">textbox.py:73</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl_html_aac519c2f693672ea7bee12fee48a4e1d"><div class="ttname"><a href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#aac519c2f693672ea7bee12fee48a4e1d">gui.controls.textbox.wx_masked_TextCtrl.SetValue</a></div><div class="ttdeci">def SetValue</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00256">textbox.py:256</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a0fbc3aef906418a805d019fb43b53988"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a0fbc3aef906418a805d019fb43b53988">gui.controls.textbox.TextBox.can_cut</a></div><div class="ttdeci">def can_cut</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00076">textbox.py:76</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl_html_a66ac87464fce721ca4e8e6fb1b4c0173"><div class="ttname"><a href="../../d1/d1c/classgui_1_1controls_1_1textbox_1_1wx__masked__TextCtrl.html#a66ac87464fce721ca4e8e6fb1b4c0173">gui.controls.textbox.wx_masked_TextCtrl.GetValue</a></div><div class="ttdeci">def GetValue</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00264">textbox.py:264</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a2b2fbe3bf4786abcb2870c6444adbce2"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a2b2fbe3bf4786abcb2870c6444adbce2">gui.controls.textbox.TextBox.show_position</a></div><div class="ttdeci">def show_position</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00182">textbox.py:182</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ad4aa89f5359bbdb04e2f2e024afe7f07"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ad4aa89f5359bbdb04e2f2e024afe7f07">gui.controls.textbox.TextBox.get_number_of_lines</a></div><div class="ttdeci">def get_number_of_lines</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00115">textbox.py:115</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a6a7126f3680264feb2169b58a1184ffd"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a6a7126f3680264feb2169b58a1184ffd">gui.controls.textbox.TextBox.append_text</a></div><div class="ttdeci">def append_text</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00066">textbox.py:66</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl_html_a7e671feb47d76fadadc58af3a3cdc262"><div class="ttname"><a href="../../d2/d3a/classgui_1_1controls_1_1textbox_1_1wx__DatePickerCtrl.html#a7e671feb47d76fadadc58af3a3cdc262">gui.controls.textbox.wx_DatePickerCtrl.GetMask</a></div><div class="ttdeci">def GetMask</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00335">textbox.py:335</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_ae22e308c649d562da24e67497a2a6958"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#ae22e308c649d562da24e67497a2a6958">gui.controls.textbox.TextBox.can_undo</a></div><div class="ttdeci">def can_undo</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00085">textbox.py:85</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a853845389a915eec4dedaee22e8abfb5"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a853845389a915eec4dedaee22e8abfb5">gui.controls.textbox.TextBox._wx_class</a></div><div class="ttdeci">_wx_class</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00026">textbox.py:26</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a4a54c8acfadcc8eb778bb27bbd13158b"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a4a54c8acfadcc8eb778bb27bbd13158b">gui.controls.textbox.TextBox.get_last_position</a></div><div class="ttdeci">def get_last_position</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00103">textbox.py:103</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a5b01f2841a33675e6be00d3f41c6c344"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a5b01f2841a33675e6be00d3f41c6c344">gui.controls.textbox.TextBox._get_mask</a></div><div class="ttdeci">def _get_mask</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00199">textbox.py:199</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1textbox_1_1TextBox_html_a77c02c59f816ce7ff4f3c1610e28dcb8"><div class="ttname"><a href="../../df/d1e/classgui_1_1controls_1_1textbox_1_1TextBox.html#a77c02c59f816ce7ff4f3c1610e28dcb8">gui.controls.textbox.TextBox.set_insertion_point</a></div><div class="ttdeci">def set_insertion_point</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00173">textbox.py:173</a></div></div>
<div class="ttc" id="namespacegui_1_1controls_1_1textbox_html_a3e328e7271e784fdecb11ab1c076e2a2"><div class="ttname"><a href="../../dd/db5/namespacegui_1_1controls_1_1textbox.html#a3e328e7271e784fdecb11ab1c076e2a2">gui.controls.textbox.DatePickerCtrl</a></div><div class="ttdeci">DatePickerCtrl</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d65/build_2lib_8linux-x86__64-2_87_2gui_2controls_2textbox_8py_source.html#l00320">textbox.py:320</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_be831313eee9167e67543a36aa74e60d.html">gui</a></li><li class="navelem"><a class="el" href="../../dir_c9134ecc933fd451a588b777913cb500.html">controls</a></li><li class="navelem"><a class="el" href="../../de/d1c/gui_2controls_2textbox_8py.html">textbox.py</a></li>
    <li class="footer">Generado el Domingo, 7 de Diciembre de 2014 18:59:47 para gui2py por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
